package com.hjm.project.ActTerminalModel.ActTerminalModel.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 活动匹配终端对象 act_terminal_model
 * 
 * @author ActTerminalModel
 * @date 2020-11-28
 */
public class ActTerminalModel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 终端型号id */
    @Excel(name = "终端型号id")
    private Long terminalModelId;

    /** 活动id */
    @Excel(name = "活动id")
    private Long actId;

    /** 终端来源 0 定制机 1 自备机 99全部 */
    @Excel(name = "终端来源 0 定制机 1 自备机 99全部")
    private Long source;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTerminalModelId(Long terminalModelId)
    {
        this.terminalModelId = terminalModelId;
    }

    public Long getTerminalModelId()
    {
        return terminalModelId;
    }
    public void setActId(Long actId)
    {
        this.actId = actId;
    }

    public Long getActId()
    {
        return actId;
    }
    public void setSource(Long source)
    {
        this.source = source;
    }

    public Long getSource()
    {
        return source;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("terminalModelId", getTerminalModelId())
            .append("actId", getActId())
            .append("source", getSource())
            .toString();
    }
}
